package com.fjec.common.view;

import com.fjec.common.util.JsonUtil;
import lombok.Data;

import java.util.Map;

@Data
public class TestVO extends BaseVO {

    private boolean b1;

    private Boolean b2;

    public static void main(String[] args) {
        TestVO view = new TestVO();
        view.setB1(true);
        view.setB2(true);
        Map<String, Object> map = view.toMap();

       String str =  JsonUtil.toJson(map);
        System.out.println(str);
    }
}
